package com.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.content.model.dto.AssociationMediaDto;
import com.content.model.dto.SaveTeachplanDto;
import com.content.model.dto.TeachPlanTreeDto;
import com.content.model.po.Teachplan;

import java.util.List;

public interface TeachPlanService extends IService<Teachplan> {

    List<TeachPlanTreeDto> getTeachPlanByCourseId(Long courseId);

    void saveTeachPlan(SaveTeachplanDto saveTeachplanDto);

    void moveDown(Long id);

    void moveUp(Long id);

    void deleteById(Long id);

    void deleteMedia(Long teachPlanId, String mediaId);

    void associationMedia(AssociationMediaDto associationMediaDto);
}
